<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>表单验证</title>
    <link rel="stylesheet" href="./css/bootstrap.min.css">
    <style>
        .form-container {
            margin-top: 200px;
        }
        
        .form-group {
            margin-bottom: 0;
        }
        
        .help-block {
            margin-bottom: 0;
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="row ">
            <div class="col-md-6 col-md-offset-3 well form-container">
                <form action="http://baidu.com">
                    <h2>注册信息</h2>
                    <div class="form-group has-feedback">
                        <label class="control-label" for="email">邮箱地址</label>
                        <input type="text" class="form-control " id="email" placeholder="请输入邮箱地址">
                        <!-- <span class="glyphicon glyphicon-ok form-control-feedback" aria-hidden="true"></span> -->
                        <span id="email-helpBlock" class="help-block"> </span>
                    </div>
                    <div class="form-group">
                        <label class="control-label" for="tel">电话号码</label>
                        <input type="text" class="form-control " id="tel" placeholder="请输入电话号码">
                        <span id="tel-helpBlock" class="help-block"> </span>
                    </div>
                    <div class="form-group">
                        <label class="control-label" for="username">用户名</label>
                        <input type="text" class="form-control " id="username" placeholder="请输入电话号码">
                        <span id="username-helpBlock" class="help-block"> </span>
                    </div>
                    <div class="form-group">
                        <label class="control-label" for="password1">密码</label>
                        <input type="password" class="form-control" id="password1" placeholder="请输入密码">
                        <span id="password1-helpBlock" class="help-block"></span>
                    </div>
                    <div class="form-group">
                        <label class="control-label" for="password2">重复密码</label>
                        <input type="password" class="form-control" id="password2" placeholder="请再次输入密码">
                        <span id="password2-helpBlock" class="help-block"></span>
                    </div>

                    <div class="checkbox">
                        <label>
                            <input type="checkbox"> 我已经阅读
                        </label>
                    </div>
                    <button type="submit" class="btn btn-primary" id="submit">注册</button>
                </form>
            </div>
        </div>
    </div>
    <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
    <script src="./js/bootstrap.min.js"></script>
    <script src="./js/formValidate.js"></script>
</body>

</html>